package server.main.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import server.main.mapper.DoctorMapper;
import server.main.pojo.Doctor;
import server.main.service.DoctorService;

/**
 * @auther MingHsZzz
 * @Date 2023/2/2  19:56
 * @project main
 * @description
 */

@Service("DoctorService")
public class DoctorServiceImpl extends ServiceImpl<DoctorMapper, Doctor> implements DoctorService{


   @Autowired
   DoctorMapper doctorMapper;


   @Override
   public Doctor getDoctorByJobnum(String jobnum) {


      return doctorMapper.getDoctor(jobnum);
   }
}
